const navlink ={
	navBack:()=>{
		// uni.navigateBack()
		let pages = getCurrentPages();
		if(pages.length>1){
			uni.navigateBack();
		}else{
			uni.switchTab({
				url: '/pages/mallHome/selfMall'
			})
		}
	},
	navRed:(url)=>{
		uni.redirectTo({
		    url
		});
	}
}
export default navlink
